package com.lening.security.service.impl;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.security.dao.PathDAO;
import com.lening.security.dto.PathDTO;
import com.lening.security.po.PathPO;
import com.lening.security.service.IPathService;
import com.lening.common.base.BaseServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 赵子豪
 * @date 2024年06月04日 08时58分45秒
 * 巡更路线
 */
@Slf4j
@Service
public class PathServiceImpl extends BaseServiceImpl<PathDAO, PathPO, PathDTO> implements IPathService {
    @Autowired
    private PathDAO pathDAO;

    @Override
    public Page<PathDTO> pathpage(PathDTO pathDTO) {
        return pathDAO.pathpage(pathDTO);
    }
//记录
    @Override
    public Page<PathDTO> pathsrecordpage(PathDTO pathDTO) {
        return pathDAO.pathsrecordpage(pathDTO);
    }

    @Override
    public Page<PathDTO> get(PathDTO pathDTO) {
        return pathDAO.get(pathDTO);
    }
}